#!/bin/bash

# This script recieves clusterware commands and passes the correct parameters to mysql_handler.sh

# Ilmar Kerm, 2012
# http://code.google.com/p/postgresql-with-oracle-clusterware-scripts/

PGSQL_SID=`basename $0 .scr`
export PGSQL_SID

cd `dirname $0`
./postgres_handler.sh $1
exitvalue=$?
echo "Exit value: $exitvalue"

exit $exitvalue
